import "@site/src/languages/highlight";

# ClipNode Class

**Description:**

&emsp;&emsp;A class for creating ClipNode objects.

## __call

**Type:** Metamethod.

**Description:**

&emsp;&emsp;Creates a new ClipNode object.

**Signature:**
```tl
metamethod __call: function(
		self: ClipNodeClass,
		stencil?: Node --[[nil]]
	): ClipNode
```

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| stencil | Node | The stencil Node that defines the clipping shape. Defaults to nil. |

**Returns:**

| Return Type | Description |
| --- | --- |
| ClipNode | A new ClipNode object. |